package org.jeecg.vo.basedata;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Description: 租户
 * @Author: jeecg-boot
 * @Date:   2019-07-30
 * @Version: V1.0
 */
@Data
public class BaseTenantPage {
    
	/**id*/
	@TableId(type = IdType.UUID)
	private String id;
	/**name*/
	@Excel(name = "租赁人/企业", width = 15)
	private String name;
	/**roomid*/
	//@Excel(name = "roomid", width = 15)
	private String roomid;
	/**startDate*/
	@Excel(name = "开始时间", width = 20, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	private Date startDate;
	/**endDate*/
	@Excel(name = "结束时间", width = 20, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd ")
	private Date endDate;
	/**telphone*/
	@Excel(name = "固定电话", width = 15)
	private String telphone;
	/**mobile*/
	@Excel(name = "手机号码", width = 15)
	private String mobile;
	/**licence*/
	@Excel(name = "合同编号", width = 15)
	private String licence;
	/**contactus*/
	//@Excel(name = "contactus", width = 15)
	private String contactus;
	/**createBy*/
	//@Excel(name = "createBy", width = 15)
	private String createBy;
	/**createTime*/
	//@Excel(name = "createTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	/**updateBy*/
	//@Excel(name = "updateBy", width = 15)
	private String updateBy;
	/**updateTime*/
	//@Excel(name = "updateTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date updateTime;
	@Excel(name = "开始收费时间", width = 20, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	private Date chargeTime;
	/**delFlag*/
	//@Excel(name = "delFlag", width = 15)
	private String delFlag;
	/**remarks*/
	@Excel(name = "备注", width = 15)
	private String remarks;
	/**idcard*/
	//@Excel(name = "idcard", width = 15)
	private String idcard;

	@Excel(name = "账单周期", width = 15)
	private String cycle;

	/**房间名称*/
	@Excel(name = "房间名称", width = 15)
	private String roomName;

	private String floorId;

}
